package com.ethink.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.order.api.info.TocSaleImportLogInfo;
import com.ethink.order.api.model.TocSaleImportLogModel;
import com.ethink.order.api.request.CheckShopOrderNoIfExistRequest;
import com.ethink.order.api.request.SaleOrderUpdateStatusRequest;
import com.ethink.order.api.request.TocSaleImportLogAddRequest;
import com.ethink.order.api.request.TocSaleImportLogQueryRequest;
import com.ethink.order.api.response.TocSaleImportLogQueryDetailResponse;

import java.util.List;

/**
 * TOC销售单导入日志 Service接口
 *
 * @author default
 * @date 2022-11-22
 */
public interface TocSaleImportLogService {


    Integer addTocSaleOrder(TocSaleImportLogAddRequest request);

    Page<TocSaleImportLogModel> pageQuery(TocSaleImportLogQueryRequest request);

    Integer delete(Long id);

    TocSaleImportLogQueryDetailResponse queryDetail(Long id);

    Integer updateStatus(SaleOrderUpdateStatusRequest request);

    List<Long> selectNotProcessed();

    TocSaleImportLogInfo queryById(Long id);

    List<String> checkShopOrderNoIfExist(CheckShopOrderNoIfExistRequest checkShopOrderNoIfExistRequest);
}